import React, {FC} from 'react';
import { Navigation } from './Navigation';
import {PageHeader} from "antd"
interface props {
    children:React.ReactNode
    subTitle:string
    title:string
}

const Layout:FC<props> = function ({children, title, subTitle}) {
  return <div>
      <Navigation/>
      <PageHeader className="jumbotron" title={title} subTitle={subTitle}/>
      {children}
  </div>;
}

export default Layout;
